
<%@ page import="autenticacao.Usuario" %>
<!doctype html>
<html>
  <head>
    <meta name="layout" content="main">
  <g:set var="entityName" value="${message(code: 'usuario.label', default: 'Usuario')}" />
  <title><g:message code="default.show.label" args="[entityName]" /></title>
</head>
<body>
  <a href="#show-usuario" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
  <div class="nav" role="navigation">
    <ul>
      <li><g:link class="home" controller="admin" action="index">Home</g:link></li>
      <li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
      <li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
    </ul>
  </div>
  <div id="show-usuario" class="content scaffold-show" role="main">
    <h1><g:message code="default.show.label" args="[entityName]" /></h1>
    <g:if test="${flash.message}">
      <div class="message" role="status">${flash.message}</div>
    </g:if>
    <ol class="property-list usuario">

      <g:if test="${usuarioInstance?.username}">
        <li class="fieldcontain">
          <span id="username-label" class="property-label"><g:message code="usuario.username.label" default="Username" /></span>

          <span class="property-value" aria-labelledby="username-label"><g:fieldValue bean="${usuarioInstance}" field="username"/></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.nome}">
        <li class="fieldcontain">
          <span id="nome-label" class="property-label"><g:message code="usuario.nome.label" default="Nome" /></span>

          <span class="property-value" aria-labelledby="nome-label"><g:fieldValue bean="${usuarioInstance}" field="nome"/></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.rg}">
        <li class="fieldcontain">
          <span id="rg-label" class="property-label"><g:message code="usuario.rg.label" default="Rg" /></span>

          <span class="property-value" aria-labelledby="rg-label"><g:fieldValue bean="${usuarioInstance}" field="rg"/></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.cpf}">
        <li class="fieldcontain">
          <span id="cpf-label" class="property-label"><g:message code="usuario.cpf.label" default="Cpf" /></span>

          <span class="property-value" aria-labelledby="cpf-label"><g:fieldValue bean="${usuarioInstance}" field="cpf"/></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.endereco}">
        <li class="fieldcontain">
          <span id="endereco-label" class="property-label"><g:message code="usuario.endereco.label" default="Endereco" /></span>

          <span class="property-value" aria-labelledby="endereco-label"><g:fieldValue bean="${usuarioInstance}" field="endereco"/></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.enderecoNum}">
        <li class="fieldcontain">
          <span id="enderecoNum-label" class="property-label"><g:message code="usuario.enderecoNum.label" default="Endereco Num" /></span>

          <span class="property-value" aria-labelledby="enderecoNum-label"><g:fieldValue bean="${usuarioInstance}" field="enderecoNum"/></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.cep}">
        <li class="fieldcontain">
          <span id="cep-label" class="property-label"><g:message code="usuario.cep.label" default="Cep" /></span>

          <span class="property-value" aria-labelledby="cep-label"><g:fieldValue bean="${usuarioInstance}" field="cep"/></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.cidade}">
        <li class="fieldcontain">
          <span id="cidade-label" class="property-label"><g:message code="usuario.cidade.label" default="Cidade" /></span>

          <span class="property-value" aria-labelledby="cidade-label"><g:fieldValue bean="${usuarioInstance}" field="cidade"/></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.estado}">
        <li class="fieldcontain">
          <span id="estado-label" class="property-label"><g:message code="usuario.estado.label" default="Estado" /></span>

          <span class="property-value" aria-labelledby="estado-label"><g:fieldValue bean="${usuarioInstance}" field="estado"/></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.telefone}">
        <li class="fieldcontain">
          <span id="telefone-label" class="property-label"><g:message code="usuario.telefone.label" default="Telefone" /></span>

          <span class="property-value" aria-labelledby="telefone-label"><g:fieldValue bean="${usuarioInstance}" field="telefone"/></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.celular}">
        <li class="fieldcontain">
          <span id="celular-label" class="property-label"><g:message code="usuario.celular.label" default="Celular" /></span>

          <span class="property-value" aria-labelledby="celular-label"><g:fieldValue bean="${usuarioInstance}" field="celular"/></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.operadoraCel}">
        <li class="fieldcontain">
          <span id="operadoraCel-label" class="property-label"><g:message code="usuario.operadoraCel.label" default="Operadora Cel" /></span>

          <span class="property-value" aria-labelledby="operadoraCel-label"><g:fieldValue bean="${usuarioInstance}" field="operadoraCel"/></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.email1}">
        <li class="fieldcontain">
          <span id="email1-label" class="property-label"><g:message code="usuario.email1.label" default="Email1" /></span>

          <span class="property-value" aria-labelledby="email1-label"><g:fieldValue bean="${usuarioInstance}" field="email1"/></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.email2}">
        <li class="fieldcontain">
          <span id="email2-label" class="property-label"><g:message code="usuario.email2.label" default="Email2" /></span>

          <span class="property-value" aria-labelledby="email2-label"><g:fieldValue bean="${usuarioInstance}" field="email2"/></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.msn}">
        <li class="fieldcontain">
          <span id="msn-label" class="property-label"><g:message code="usuario.msn.label" default="Msn" /></span>

          <span class="property-value" aria-labelledby="msn-label"><g:fieldValue bean="${usuarioInstance}" field="msn"/></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.skype}">
        <li class="fieldcontain">
          <span id="skype-label" class="property-label"><g:message code="usuario.skype.label" default="Skype" /></span>

          <span class="property-value" aria-labelledby="skype-label"><g:fieldValue bean="${usuarioInstance}" field="skype"/></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.accountExpired}">
        <li class="fieldcontain">
          <span id="accountExpired-label" class="property-label"><g:message code="usuario.accountExpired.label" default="Account Expired" /></span>

          <span class="property-value" aria-labelledby="accountExpired-label"><g:formatBoolean boolean="${usuarioInstance?.accountExpired}" /></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.accountLocked}">
        <li class="fieldcontain">
          <span id="accountLocked-label" class="property-label"><g:message code="usuario.accountLocked.label" default="Account Locked" /></span>

          <span class="property-value" aria-labelledby="accountLocked-label"><g:formatBoolean boolean="${usuarioInstance?.accountLocked}" /></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.enabled}">
        <li class="fieldcontain">
          <span id="enabled-label" class="property-label"><g:message code="usuario.enabled.label" default="Enabled" /></span>

          <span class="property-value" aria-labelledby="enabled-label"><g:formatBoolean boolean="${usuarioInstance?.enabled}" /></span>

        </li>
      </g:if>

      <g:if test="${usuarioInstance?.passwordExpired}">
        <li class="fieldcontain">
          <span id="passwordExpired-label" class="property-label"><g:message code="usuario.passwordExpired.label" default="Password Expired" /></span>

          <span class="property-value" aria-labelledby="passwordExpired-label"><g:formatBoolean boolean="${usuarioInstance?.passwordExpired}" /></span>

        </li>
      </g:if>

    </ol>
    <g:form>
      <fieldset class="buttons">
        <g:hiddenField name="id" value="${usuarioInstance?.id}" />
        <g:link class="edit" action="edit" id="${usuarioInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
        <g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
      </fieldset>
    </g:form>
  </div>
</body>
</html>
